package org.dromara.web.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.web.domain.Stock;
import org.dromara.web.domain.Student;

@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Student.class, reverseConvertGenerate = false)
public class StudentBo extends BaseEntity {


    @NotNull(message = "ID不能为空", groups = {EditGroup.class})
    private Long id;

    private String name;

    private Integer age;

    private String remark;
}
